﻿package sliz.tests 
{
	import flash.display.Bitmap;
	import flash.display.Sprite;
	import flash.geom.Point;
	import sliz.effects.NoiseEffect;
	import sliz.ui.Link;
	/**
	 * ...
	 * @author sliz
	 */
	public class SimpleTest extends Sprite
	{
		[Embed(source = 'pics/pic1.jpg')]
		private var pic:Class;
		private var image:Bitmap = new pic() as Bitmap;
		public function SimpleTest() 
		{
			addChild(image);
			var effect:NoiseEffect = new NoiseEffect(image, new Point(), image.width+20, image.height+20);
			effect.start();
			var link:Link = new Link("sliz'blog", "http://space.flash8.net/space/?534614/");
			link.x = 250;
			link.y = 300;
			addChild(link);
		}
		
	}

}